import axios from 'axios'
//设置默认请求地址
axios.defaults.baseURL = 'http://127.0.0.1:3000'

//请求拦截
axios.interceptors.request.use(config => {
    return config
})

//响应拦截
axios.interceptors.response.use(response => {

    return response
})

export default axios